<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  <!-- 张金玉 -->  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>车票预订</title>
<link rel="stylesheet" type="text/css"
	href="../js/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../js/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="../js/easyui/demo/demo.css">

<link rel="stylesheet" type="text/css" href="../css/ticket.css">
<script type="text/javascript" src="../js/easyui/jquery.min.js"></script>
<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="../js/showticket.js"></script>
<script type="text/javascript" src="../js/valid.js"></script>
<!-- <script type="text/javascript">
	function fit(argument) {
	// body...
	var train=document.getElementById('train').value;
	 var reg = /^G|D|T|Z|K\d{2}|\d{3}|\d{4}$/;

			if(!reg.test(train)){
			alert("请输入正确的车次！");
			return;
		}
}


</script> -->

</head>
<body>
  <div> 
   <div id="top" >
   <table width="100%"  align="center">
  <tr>
    <td width="1411" colspan="2" background="../images/ny_top_img_bg.gif"><img src="../images/ny_top_img.gif" width="650" height="108"></td>
    </tr>
 </table>
	</div>
  <div id="navi" >
  	<span id="cr">当前选择》》车票预订</span>
	<span id="user">欢迎您${sessionScope.username},退出</span>
  </div>
  <div id="menu">
  <table width="247">
  
	<tr>
	<td width="75">&nbsp;</td>
	<td width="165" height="35"><span class="text_blod">用户</span></td></tr>
	<tr>
	<td ><img src="../images/ny_arrow1.gif"></td>
    <td height="35" class="text_cray">车票预订</td>
	</tr>
	<tr><td ><img src="../images/ny_arrow1.gif"></td>
    <td height="35" class="text_cray"><a href="../user/TestQueryUsers.jsp">个人信息</a></td></tr>
	<tr><td ><img src="../images/ny_arrow1.gif"></td>
    <td height="35" class="text_cray"><a href="../orders/showorder.jsp">订单详情</a></td></tr>

  
  </table>
  
  </div>
    <div id="content" >
   	车票查询<hr>
      <table align="center" id='mytable' class="easyui-datagrid"    >  
        <thead>  
     <!--       <tr> <th field="id"  width="100">编号</th> 
                <th field="splace" width="100">出发地</th>  
                <th field="eplace" width="100">目的地</th>  
                <th field="train" width="100">车次</th>  
                <th field="times"  width="100"  formatter:function(val) {return formattime(val);}>出发时间</th>  
                <th field="price" width="100">价格</th> 
            </tr>  
            -->
        </thead>        
    </table>  
    <div id="searchtool" style="padding:5px">  
        <span>出发地:</span><input class="easyui-textbox" name="splace" id="splace" data-options="validType:'place'" size=10 />  
        <span>目的地:</span><input class="easyui-textbox" name="eplace" id="eplace" data-options="validType:'place'" size=10 />  
        <span>车次:</span><input class="easyui-textbox" name="train" id="train" data-options="validType:'train'" size=10 /> 
        <span>出发时间：</span><input class="easyui-datebox" name="times" id="times" size=10 /> 
          <a href="javascript:void(0);" class="easyui-linkbutton" plain="true" iconCls="icon-search" id="search" onclick="doSearch()"  >查询</a>
          <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doReserve()">预订</a>
          
    </div> 
    </div>
   </div>
  <div id="foot" >
  </div>
  </div>
</body>
</html>